package edu.zju.gis.dbfg.server.mapper;

import edu.zju.gis.dbfg.common.base.BaseMapper;
import edu.zju.gis.dbfg.server.model.Monitor;

public interface MonitorMapper extends BaseMapper<Monitor, String> {
    int deleteByPrimaryKey(String id);

    int insert(Monitor record);

    int insertSelective(Monitor record);

    Monitor selectByPrimaryKey(String id);

    Monitor selectByName(String name);

    int updateByPrimaryKeySelective(Monitor record);

    int updateByPrimaryKey(Monitor record);

    int updateByName(Monitor monitor);
}